package com.ecr.hub.model;

public abstract class AbstractBaseHub implements IBaseHub {

	private static final long serialVersionUID = 1L;

	// Identifiant interne de l'objet.
	private int id;

	// Champ commentaire libre pour l'objet.
	private String comment;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public boolean isCommentFilled() {
		return (comment != null && comment.length() > 0) ? true : false;
	}
}
